/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package popuptester;

/**
 *
 * @author rbs
 */
public class PopupLauncher {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        if (args.length == 3)
        {
            new PopupFrame(Integer.parseInt(args[1]), args[2]);
        }
        else if (args.length == 2)
        {
            new PopupFrame(Integer.parseInt(args[0]), args[1]);
        }
        else
        {
            System.exit(-1);
        }
            
    }
}
